package com.huahua.api.entity.pojo.mofang;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @author LoveHuahua
 * @date 2022年02月16日 1:23
 * @description believe in yourself
 */
@Data
@TableName(value = "mofang_course_form")
public class MofangCourseForm {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 课程id
     */
    @TableField(value = "course_id")
    private Integer courseId;

    /**
     * 表单id
     */
    @TableField(value = "form_id")
    private Integer formId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 课程名称
     */
    private String courseName;

    /**
     * 分院名
     */
    private String deptName;

    /**
     * 最后更新时间
     */
    @TableField(value = "last_update_time")
    private LocalDateTime lastUpdateTime;

    public static final String COL_ID = "id";

    public static final String COL_COURSE_ID = "course_id";

    public static final String COL_FORM_ID = "form_id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";
}